#include "gui/objects/GUIRouteCar.h"

namespace gui {

GUIRouteCar::GUIRouteCar(CarController* carController) {
	this->guiObjects.append(this->factory->createGUIRouteSegment(
			carController->getCurrentRoadSegment()->getOrigin(),
			carController->getCurrentRoadSegment()->getDestination(),
			0));
	this->guiObjects.append(this->factory->createGUIRouteArrow(
			carController->getCurrentRoadSegment()->getOrigin(),
			carController->getCurrentRoadSegment()->getDestination(),
			15));
	this->guiObjects.append(this->factory->createGUICar(carController));
}

GUIRouteCar::~GUIRouteCar() {

}

}
